package com.yxh.pojo;

import java.util.Date;

public class User extends UserKey {
    private String password;

    private String username;

    private String dept;

    private String role;

    private String phone;

    private Date gmtCreate;

    private Date gmtModified;

    private String region;

    private Boolean isModel;

    public User(String id, String account, String password, String username, String dept,
                String role, String phone, Date gmtCreate, Date gmtModified, String region,Boolean isModel) {
        super(id, account);
        this.password = password;
        this.username = username;
        this.dept = dept;
        this.role = role;
        this.phone = phone;
        this.gmtCreate = gmtCreate;
        this.gmtModified = gmtModified;
        this.region = region;
        this.isModel=isModel;
    }

    public User() {
        super();
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept == null ? null : dept.trim();
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role == null ? null : role.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public Boolean getModel() {
        return isModel;
    }

    public void setModel(Boolean model) {
        isModel = model;
    }
}